cmake_minimum_required(VERSION 3.15)
project(wdx_npu_smi)
set(CMAKE_CXX_STANDARD 14)
add_definitions(-O0)

include_directories(/usr/local/HiAI/driver/kernel/inc/driver)
link_directories(/usr/local/HiAI/driver/lib64/common)
link_directories(/usr/local/HiAI/driver/lib64/driver)

add_executable(wdx_npu_smi main.cpp /usr/local/HiAI/driver/kernel/inc/driver/dsmi_common_interface.h)
target_link_libraries(wdx_npu_smi drvdsmi_host)